<template>
    <div>
        <swiper class="detail-swiper">
            <swiper-item v-for="(item,key) in TopImage" :key="key">
                <img :src="item" alt="">
            </swiper-item>
        </swiper>
    </div>
</template>

<script>
    import swiper from 'components/common/swiper/swiper.vue'
    import swiperItem from 'components/common/swiper/swiperItem.vue'

    export default {
        components: {
            swiper,
            swiperItem,
        },
        props:{
            TopImage:{
                type:Array,
                default(){
                    return []
                }
            }
        }    
    }
</script>

<style scoped>
    .detail-swiper{
        height: 300px;
        overflow: hidden;
    }
</style>